package com.fsds.crem.web.dao;

import java.util.List;

import com.fsds.crem.core.generic.GenericDao;
import com.fsds.crem.web.entity.Users;

public interface UsersDao extends GenericDao<Users, Long> {

	/**
	 * 验证用户名和 密码
	 * 
	 * @param users
	 * @return
	 */
	public Users checkUser(Users users);
	
	/**
	 * 通过用户名获取用户信息
	 * 
	 * @param users
	 * @return
	 */
	public List<Users> getList(Users users);
	
}
